package com.aijk.commons.dict;

import com.aijk.commons.group.AbstractGrouper;

import java.util.List;

/**
 * 数据字典分组器
 * Created by iscdw on 2016/4/12.
 */
public class DictGrouper extends AbstractGrouper<String,Dict> {

    public DictGrouper(List<Dict> elements) {
        super(elements);
    }

    @Override
    public String key(Dict dict) {
        return dict.getCid();
    }
}
